let isRepeat = (arr , key)=>{
  let rs = null;
  for (let i = 0; i < arr.length; i++) {
    if (arr[i] === key) {
      rs = i;
      break;
    }
  }
  return rs;
};

export default {
  isRepeat
};
